home *** CD-ROM | disk | FTP | other *** search
- unit RegContextMenuTest;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
-
- type
- TForm1 = class(TForm)
- procedure FormCreate(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- uses RegContextMenu;
-
- {$R *.DFM}
-
- procedure TForm1.FormCreate(Sender: TObject);
- begin
- with TRegContextMenu.Create (Self) do try
- GUID := '{8e3e0f0a-0fcc-11ce-bcb0-b3fd0e25381a}';
- Description := 'Delphi 3.0 Context Menu Shell Extension';
- PathName := 'c:\Delphi 3.0\demos\shellext\contmenu.dll';
- FileType := 'DelphiProject';
- Write;
- finally
- Free;
- end;
- end;
-
- end.
-